package com.js.admin.vo;

import com.js.common.vo.TreeNodeVO;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ygl
 * @create 2018-11-06
 * @DESCRIPTION
 **/
@NoArgsConstructor
@Data
public class DepartTree extends TreeNodeVO<DepartTree> {

    private String label;
    private String code;
    private String title;

    public DepartTree(Object id, Object parentId, String label, String code) {
        this.label = label;
        this.code = code;
        this.title = label;
        this.setId(id);
        this.setParentId(parentId);
    }

}
